package com.leyou.item.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.leyou.common.dto.PageDTO;
import com.leyou.item.entity.Spu;
import com.leyou.item.dto.SpuDTO;

public interface SpuService extends IService<Spu> {
    PageDTO<SpuDTO> pageQuery(Integer page, Integer rows, Boolean saleable, Long categoryId, Long brandId, Long id);

    void modifySaleable(Long id, Boolean saleable);

    void addGoods(SpuDTO spuDTO);

    SpuDTO queryGoodsBySpuId(Long id);

    void updateGoods(SpuDTO spuDTO);
}
